#include "apue.h"

union test {
	int num;
	char str[4];
};

int main(void) {
	union test t;
	t.num = 0x12345678;
	if (t.str[0] = 0x12) {
		printf("big\n");
	} else if (t.str[1] = 0x78) {
		printf("small\n");
	} else {
		printf("error\n");
	}
	exit(0);
}

